void main() {
  // 加减乘除
  double salary = 10000; // 工资
  double start = 5000;
  double tax = (salary - start) * 0.05; // 税率
  double social = salary * 0.12; // 社保
  double fund = salary * 0.12; // 公积金
  double medicel = salary * 0.05; // 医保
  double other = salary * 0.02; // 养老 失业 生育 工伤
  double meals = 12 * 22; // 餐补
  double car = 10 * 22; // 车补
  double house = 500; // 房补

  salary += 22;
  salary -= 22;
  salary *= 22;
  salary /= 22;
  int count = salary ~/ 22; // 取的整数赋值给int类型

  print(
      '应发工资：$salary,实际发放工资：${salary - tax - social - fund - medicel - other + meals + car + house}');
}
